package com.ruoyi.feedback.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 反馈管理对象 qcl_feedback
 *
 * @author ruoyi
 * @date 2024-10-25
 */
@TableName(value = "qcl_feedback")
@Data
public class Feedback extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID 编号
     */
    @Excel(name = "ID 编号")
    private Long id;

    /**
     * 提交人头像
     */
    @Excel(name = "提交人头像")
    private String submitAvatar;

    /**
     * 提交人
     */
    @Excel(name = "提交人")
    private String submitPerson;

    /**
     * 反馈内容
     */
    @Excel(name = "反馈内容")
    private String feedback;

    /**
     * 所属学校
     */
    @Excel(name = "所属学校")
    private String schoolBelonging;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSubmitAvatar() {
        return submitAvatar;
    }

    public void setSubmitAvatar(String submitAvatar) {
        this.submitAvatar = submitAvatar;
    }

    public String getSubmitPerson() {
        return submitPerson;
    }

    public void setSubmitPerson(String submitPerson) {
        this.submitPerson = submitPerson;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public String getSchoolBelonging() {
        return schoolBelonging;
    }

    public void setSchoolBelonging(String schoolBelonging) {
        this.schoolBelonging = schoolBelonging;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("submitAvatar", getSubmitAvatar())
                .append("submitPerson", getSubmitPerson())
                .append("feedback", getFeedback())
                .append("schoolBelonging", getSchoolBelonging())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
